<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
    <p>hello world!</p>

<script th:src="@{media/js/jquery-1.10.1.min.js}" type="text/javascript"></script>
<script>

    console.log("$:"+$)

    $("p").text("99999999999999999");

    $.post(form.attr("action"), form.serialise(), function (data) {
        alert(123);
        if(data>0) {
            jQuery('#register-back-btn').click();
        }else {
            alert("注册失败");
        }
    });
</script>
</body>
</html>